package com.rc.evcharger.common.dto;

import com.rc.evcharger.common.base.BaseDto;

import java.math.BigDecimal;

/**
 * 传值对象
 * 属于跟ChargeBalaceResult基本一致
 * Created by Sven on 2021/04/04 15:56
 */
public class ChargeBalaceDto extends BaseDto {
    private Long elecPileId;

    private String gunNum; // 枪号 1：A枪 2：B枪
    private String orderNum; // 订单号;
    private BigDecimal voltage;// 电压
    private BigDecimal elec; // 电流
    private BigDecimal power; // 电量；
    private String powerObl; //保留的电量字节
    private BigDecimal soc; // 电量百分比；
    private String svin; // vin码；
    private String elecPileStopReason; // 桩体停止原因
    private BigDecimal powerA; // A枪总电量;
    private BigDecimal powerB; // B枪总电量;

    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getVoltage() {
        return voltage;
    }

    public void setVoltage(BigDecimal voltage) {
        this.voltage = voltage;
    }

    public BigDecimal getElec() {
        return elec;
    }

    public void setElec(BigDecimal elec) {
        this.elec = elec;
    }

    public BigDecimal getPower() {
        return power;
    }

    public void setPower(BigDecimal power) {
        this.power = power;
    }

    public String getPowerObl() {
        return powerObl;
    }

    public void setPowerObl(String powerObl) {
        this.powerObl = powerObl;
    }

    public BigDecimal getSoc() {
        return soc;
    }

    public void setSoc(BigDecimal soc) {
        this.soc = soc;
    }

    public String getSvin() {
        return svin;
    }

    public void setSvin(String svin) {
        this.svin = svin;
    }

    public String getElecPileStopReason() {
        return elecPileStopReason;
    }

    public void setElecPileStopReason(String elecPileStopReason) {
        this.elecPileStopReason = elecPileStopReason;
    }

    public BigDecimal getPowerA() {
        return powerA;
    }

    public void setPowerA(BigDecimal powerA) {
        this.powerA = powerA;
    }

    public BigDecimal getPowerB() {
        return powerB;
    }

    public void setPowerB(BigDecimal powerB) {
        this.powerB = powerB;
    }

    @Override
    public String toString() {
        return "ChargeBalaceDto{" +
                "elecPileId=" + elecPileId +
                ", gunNum='" + gunNum + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", voltage=" + voltage +
                ", elec=" + elec +
                ", power=" + power +
                ", powerObl='" + powerObl + '\'' +
                ", soc=" + soc +
                ", svin='" + svin + '\'' +
                ", elecPileStopReason='" + elecPileStopReason + '\'' +
                ", powerA=" + powerA +
                ", powerB=" + powerB +
                '}';
    }
}
